Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TextServer] Make sure Freetype is enabled for ot-svg #74556

Merged
merged 1 commit into from
Mar 15, 2023

Conversation

AThousandShips
Copy link
Member

@AThousandShips AThousandShips commented Mar 7, 2023

Disabling Freetype but not SVG causes text_server_adv/_fb to fail to compile due to incorrect module detection, as ot-svg requires both.

Issue #74546 (this is not the only problem in that so not "fixed" necessarily)

Copy link
Member

@bruvzg bruvzg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same should be done in the text_server_fb module (it's disabled by default).

@AThousandShips
Copy link
Member Author

Oh didn't see it was in that too, will add it

@AThousandShips

This comment was marked as outdated.

@YuriSizov
Copy link
Contributor

@AThousandShips Does this close #74546 completely now? (my PR for the icons was merged already)

@YuriSizov YuriSizov merged commit b5845f8 into godotengine:master Mar 15, 2023
@YuriSizov
Copy link
Contributor

Thanks!

@AThousandShips
Copy link
Member Author

It looks like there's still a bug without the advanced server giving no text, but think that might be a duplicate

@AThousandShips
Copy link
Member Author

Thank you!

@AThousandShips AThousandShips deleted the text_adv_svg_freetype branch March 15, 2023 14:06
@bruvzg
Copy link
Member

bruvzg commented Mar 15, 2023

It looks like there's still a bug without the advanced server giving no text

It's not a bug, text server is what's loading fonts and rendering text, so if none is enabled (neither advanced nor fallback text server) there's no text rendering code left. Also, all default fonts are dynamic, so the editor won't have any text if FreeType is disabled as well (bitmap fonts will be still usable).

@AThousandShips
Copy link
Member Author

Then we can close it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants